cmake_minimum_required(VERSION 3.15)
project(compile_task2)

set(CMAKE_CXX_STANDARD 17)

add_executable(compile_task2 main.cpp
        Utils/fileHelper.cpp
        Utils/fileHelper.h
        Compiler/Lexer.cpp
        Compiler/Lexer.h
        Utils/charHelper.cpp
        Utils/charHelper.h
        Utils/outputHelper.cpp
        Utils/outputHelper.h
        Compiler/Parser.cpp
        Compiler/Parser.h
        Compiler/ParseNodes/SyntaxTreeNode.cpp
        Compiler/ParseNodes/SyntaxTreeNode.h
        Compiler/ParseNodes/CompUnitNode.cpp
        Compiler/ParseNodes/CompUnitNode.h
        Compiler/ParseNodes/DeclNode.cpp
        Compiler/ParseNodes/DeclNode.h
        Compiler/ParseNodes/FuncDefNode.cpp
        Compiler/ParseNodes/FuncDefNode.h
        Compiler/ParseNodes/MainFuncDefNode.cpp
        Compiler/ParseNodes/MainFuncDefNode.h
        Compiler/ParseNodes/ConstDeclNode.cpp
        Compiler/ParseNodes/ConstDeclNode.h
        Compiler/ParseNodes/VarDeclNode.cpp
        Compiler/ParseNodes/VarDeclNode.h
        Compiler/ParseNodes/FuncTypeNode.cpp
        Compiler/ParseNodes/FuncTypeNode.h
        Compiler/ParseNodes/IdentNode.cpp
        Compiler/ParseNodes/IdentNode.h
        Compiler/ParseNodes/BTypeNode.cpp
        Compiler/ParseNodes/BTypeNode.h
        Compiler/ParseNodes/ConstDefNode.cpp
        Compiler/ParseNodes/ConstDefNode.h
        Compiler/ParseNodes/ConstExpNode.cpp
        Compiler/ParseNodes/ConstExpNode.h
        Compiler/ParseNodes/ConstInitValNode.cpp
        Compiler/ParseNodes/ConstInitValNode.h
        Compiler/ParseNodes/VarDefNode.cpp
        Compiler/ParseNodes/VarDefNode.h
        Compiler/ParseNodes/InitValNode.cpp
        Compiler/ParseNodes/InitValNode.h
        Compiler/ParseNodes/ExpNode.cpp
        Compiler/ParseNodes/ExpNode.h
        Compiler/ParseNodes/FuncFParamsNode.cpp
        Compiler/ParseNodes/FuncFParamsNode.h
        Compiler/ParseNodes/BlockNode.cpp
        Compiler/ParseNodes/BlockNode.h
        Compiler/ParseNodes/FuncFParamNode.cpp
        Compiler/ParseNodes/FuncFParamNode.h
        Compiler/ParseNodes/BlockItemNode.cpp
        Compiler/ParseNodes/BlockItemNode.h
        Compiler/ParseNodes/StmtNode.cpp
        Compiler/ParseNodes/StmtNode.h
        Compiler/ParseNodes/StmtItemNode/StmtItemNode.cpp
        Compiler/ParseNodes/StmtItemNode/StmtItemNode.h
        Compiler/ParseNodes/StmtItemNode/IfStmtItemNode.cpp
        Compiler/ParseNodes/StmtItemNode/IfStmtItemNode.h
        Compiler/ParseNodes/StmtItemNode/ForStmtItemNode.cpp
        Compiler/ParseNodes/StmtItemNode/ForStmtItemNode.h
        Compiler/ParseNodes/StmtItemNode/BreakStmtItemNode.cpp
        Compiler/ParseNodes/StmtItemNode/BreakStmtItemNode.h
        Compiler/ParseNodes/StmtItemNode/ReturnStmtItemNode.cpp
        Compiler/ParseNodes/StmtItemNode/ReturnStmtItemNode.h
        Compiler/ParseNodes/StmtItemNode/PrintfStmtItemNode.cpp
        Compiler/ParseNodes/StmtItemNode/PrintfStmtItemNode.h
        Compiler/ParseNodes/StmtItemNode/BlockStmtItemNode.cpp
        Compiler/ParseNodes/StmtItemNode/BlockStmtItemNode.h
        Compiler/ParseNodes/StmtItemNode/LValExpStmtItemNode.cpp
        Compiler/ParseNodes/StmtItemNode/LValExpStmtItemNode.h
        Compiler/ParseNodes/StmtItemNode/ContinueStmtItemNode.cpp
        Compiler/ParseNodes/StmtItemNode/ContinueStmtItemNode.h
        Compiler/ParseNodes/ForStmtNode.cpp
        Compiler/ParseNodes/ForStmtNode.h
        Compiler/ParseNodes/CondNode.cpp
        Compiler/ParseNodes/CondNode.h
        Compiler/ParseNodes/LValNode.cpp
        Compiler/ParseNodes/LValNode.h
        Compiler/ParseNodes/AddExpNode.cpp
        Compiler/ParseNodes/AddExpNode.h
        Compiler/ParseNodes/LOrExpNode.cpp
        Compiler/ParseNodes/LOrExpNode.h
        Compiler/ParseNodes/PrimaryExpNode.cpp
        Compiler/ParseNodes/PrimaryExpNode.h
        Compiler/ParseNodes/NumberNode.cpp
        Compiler/ParseNodes/NumberNode.h
        Compiler/ParseNodes/UnaryExpNode.cpp
        Compiler/ParseNodes/UnaryExpNode.h
        Compiler/ParseNodes/UnaryOpNode.cpp
        Compiler/ParseNodes/UnaryOpNode.h
        Compiler/ParseNodes/FuncRParamsNode.cpp
        Compiler/ParseNodes/FuncRParamsNode.h
        Compiler/ParseNodes/MulExpNode.cpp
        Compiler/ParseNodes/MulExpNode.h
        Compiler/ParseNodes/RelExpNode.cpp
        Compiler/ParseNodes/RelExpNode.h
        Compiler/ParseNodes/EqExpNode.cpp
        Compiler/ParseNodes/EqExpNode.h
        Compiler/ParseNodes/LAndExpNode.cpp
        Compiler/ParseNodes/LAndExpNode.h
)
